cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 18:31:18 +0000 (18:31 +0000)]
Introduce dom0 to the store.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 18:31:03 +0000 (18:31 +0000)]
Handle introduce_domain failing when the domain is already introduced.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 17:17:09 +0000 (17:17 +0000)]
Always pass around the store machine frame number instead of the linear address.
Also cleanup IOCTL_PRIVCMD_INITDOMAIN_STORE.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 17:06:02 +0000 (17:06 +0000)]
Add xc_init_store python binding.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 17:04:47 +0000 (17:04 +0000)]
Fix read of integers from database on event channel restore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 17:03:00 +0000 (17:03 +0000)]
Make XENSTORED_DEBUG create a xenstored trace logfile.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 17:00:24 +0000 (17:00 +0000)]
Move SIF_BLK_BE_DOMAIN and SIF_NET_BE_DOMAIN definitions to where they are used.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 16:57:37 +0000 (16:57 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 16:57:01 +0000 (16:57 +0000)]
Don't auto-add domains we don't know about.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 16:18:02 +0000 (16:18 +0000)]
Add IBM Cyclone support to Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 15:32:44 +0000 (15:32 +0000)]
Add HPET support to Xen. It is quicker to access and more
precise than the PIT.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 11:20:47 +0000 (11:20 +0000)]
On opt_nosmp, also force num_cores to 1. Do this in setup.c
instead of cpu/common.c. This is where opt_nosmp is defined,
and it reduces diff of cpu/ subdir against native Linux.
Signed-off-by: Keir Fraser <keir@xensource.com>
sos22@douglas.cl.cam.ac.uk [Wed, 27 Jul 2005 11:02:30 +0000 (11:02 +0000)]
Kill a bad assertion.
Signed-off-by: Steven Smith, sos22@cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Wed, 27 Jul 2005 10:54:39 +0000 (10:54 +0000)]
Merge.
Signed-off-by: Steven Smith, sos22@cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Wed, 27 Jul 2005 10:52:29 +0000 (10:52 +0000)]
Make sure that opt_nosmp also disables hyperthreading. This stops us
from trying to create domains on non-existent threads, which would
lead to a rather nasty crash.
Signed-off-by: Steven Smith, sos22@cam.ac.uk
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 09:56:31 +0000 (09:56 +0000)]
Rename file with space in name.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
--HG--
rename : tools/sv/images/internet copy.jpg => tools/sv/images/internet_copy.jpg
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 09:24:51 +0000 (09:24 +0000)]
Fix memory reservation in XenLinux.
Signed-off-by: Keir Fraser <keir@xensource.com>
iap10@freefall.cl.cam.ac.uk [Wed, 27 Jul 2005 00:27:36 +0000 (00:27 +0000)]
Frob the Linux-2.6 configs to enable PAE (HIGHMEM_64G) if XEN_TARGET_X86_PAE=y
Signed-off-by: ian@xensource.com
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 18:41:39 +0000 (18:41 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:38:33 +0000 (17:38 +0000)]
Clean up xenbus code not to use priorities.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:27:26 +0000 (17:27 +0000)]
Fix case where watch callback unregisters itself: do not try to ack it
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:25:57 +0000 (17:25 +0000)]
Implement xenbus_dev_error() and xenbus_dev_ok() functions
for better error reporting using the store.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:24:22 +0000 (17:24 +0000)]
Scrub initial xenstore page, free xendev structure.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:22:38 +0000 (17:22 +0000)]
Fix locking: probe can be called from several places, so ensure
we lock for it.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:19:38 +0000 (17:19 +0000)]
Fix bus watch code, and clean up a little.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:18:55 +0000 (17:18 +0000)]
Note about when device_find is fixed
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:18:11 +0000 (17:18 +0000)]
Modify to assume transactions
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:16:55 +0000 (17:16 +0000)]
Do not use device_find: crashes for some reason
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:15:53 +0000 (17:15 +0000)]
Fix missing argument rename in xenbus_exists.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:07:50 +0000 (17:07 +0000)]
Grab lock around registering watch.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:07:05 +0000 (17:07 +0000)]
Add watch for dynamic add/remove of devices.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:04:33 +0000 (17:04 +0000)]
Fix return from xenbus_scanf: returns number scanned, not 0!
Fix xenbus_write args in xenbus_printf
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 16:59:40 +0000 (16:59 +0000)]
Major xenbus cleanup
1) Make xenbus_* functions first-class citizens, evict xs_ prefix.
2) Add xenbus_scanf and xenbus_printf instead of multiple functions
3) Remove unused code from xenbus.c
4) Use standard debugging macros.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 16:17:04 +0000 (16:17 +0000)]
Manual merge.
kaf24@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 16:16:39 +0000 (16:16 +0000)]
Attached patch removes the empty domain if
xc.memory_increase_reservation fails.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:57:18 +0000 (15:57 +0000)]
Update python bindings - xs_watch doesn't support a priority anymore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:37:40 +0000 (15:37 +0000)]
Don't enter sv subdirectory until its Makefile supports targets
like `clean' or actually does anything useful.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:26:32 +0000 (15:26 +0000)]
Remove ill-conceived concept of watches blocking reply on
connection which did write/mkdir/rm/setperm etc.
This causes deadlocks in real life, and I can't see a sane way
of avoiding them: it is reasonable for someone to ignore watch
notifications while doing other actions, and that means that
we can do other writes. These writes can block pending other
watchers; if one of these is the process blocked awaiting our
ack, we deadlock.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:24:28 +0000 (15:24 +0000)]
Fix bug where transaction fires multiple events.
Add general trace() call to help future debugging.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:23:50 +0000 (15:23 +0000)]
Fix bug where watch messages doesn't go out. Also change xs_test
to more closely represent xenbus behaviour so we can see the bug.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:21:32 +0000 (15:21 +0000)]
Allow test.sh to take arg: name of test to start with
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:21:00 +0000 (15:21 +0000)]
Make testing more reliable: wait for event after async so we know
child has done command
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:20:09 +0000 (15:20 +0000)]
Change watches: operations block until everyone has acked.
Watch events are no longer sent to self
Watches no longer take a priority
async and asyncwait commands for xs_test, now we need to continue
despite blocking ops.
Print test name at end of verbose run on failure.
Use --trace-file arg to xenstored when testing
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:16:39 +0000 (15:16 +0000)]
This patch prevents you from getting a screen full of stack trace when
trying to run commands like xm list as a normal user, and instead provides a
helpful error message.
Signed-off-by: Sean Dague <sean@dague.net>
kaf24@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:16:12 +0000 (15:16 +0000)]
Manual merge.
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:13:56 +0000 (15:13 +0000)]
Change from bool indicating blocked to an enum: when watches go
synchronous this makes it easier (because then we have two reasons
to block)
Instead of using return value, use explicit state member inside
struct connection.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:09:43 +0000 (15:09 +0000)]
Test and fix acknowedge_watch from returning EINVAL.
Also ensure that daemon re-xmits event if they ack wrong thing
(otherwise confused clients get stuck, as we will send no more
data while awaiting ack).
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:08:22 +0000 (15:08 +0000)]
Fix testsuite to ignore tool/ dir.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 14:02:33 +0000 (14:02 +0000)]
Start of code to persistent store connections when xenstored restarts
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
twilkie@paploo.uk.xensource.com [Tue, 26 Jul 2005 13:56:30 +0000 (13:56 +0000)]
Add XenSV back into the repository.
Now uses Python Server Pages, not twisted.
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 13:11:01 +0000 (13:11 +0000)]
# HG changeset patch
# User Rusty Russell <rusty@rustcorp.com.au>
# Node ID
a92163adedcfcff0d05c965d09da747f3c8aa13e
# Parent
63ab20781afa311300f3a8e832744292014ea7f6
Remove ill-conceived concept of watches blocking reply on connection which did write/mkdir/rm/setperm etc.
This causes deadlocks in real life, and I can't see a sane way of avoiding them: it is reasonable for someone to ignore watch notifications while doing other actions, and that means that we can do other writes. These writes can block pending other watchers; if one of these is the process blocked awaiting our ack, we deadlock.
diff -r
63ab20781afa -r
a92163adedcf tools/xenstore/xenstored_core.c
kaf24@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 10:09:06 +0000 (10:09 +0000)]
Fix restart/poweroff properly. From aq.
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:19:14 +0000 (21:19 +0000)]
- allows to optionally boot the system with a policy already being
active at startup; this works by adding a module line into the grub
configuration file and placing the binary policy generated by the
policy tool into the boot directory; This assumes that a maximum of
one module line is used for the initrd in the grub configuration
file - Question: do users pass more than one module to the kernel?
- enables the policy hypervisor call on x86/64
- some function prototypes moved to include files
- moves the version number in the java tool up to the current
version (a better way of doing this will be submitted soon)
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:03:40 +0000 (21:03 +0000)]
Improve guest time keeping
Even though we accounted for lost ticks, the accounting was not precise.
Specifically, we didn't account for the delay in calling the ac_timer
handler.
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:03:25 +0000 (21:03 +0000)]
Really enable gdbserver for real mode code.
Missed out one instance where we need to check if we're running on
1:1 page tables with guest paging disabled.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:03:05 +0000 (21:03 +0000)]
Use hg root instead of bk root.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:02:50 +0000 (21:02 +0000)]
Restore command line parsing code from qemu-0.6.1
This enables cdrom ejection (both file based and physical i.e. /dev/cdrom)
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:02:34 +0000 (21:02 +0000)]
Allow multiple disk images per guest.
Signed-off-by: Yunfeng Zhao <yunfeng.zhao@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:02:24 +0000 (21:02 +0000)]
Fix the path to qemu-dm
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:02:09 +0000 (21:02 +0000)]
Implement the I/O bitmap vm execution control.
With this patch, we should not bee seeing any vmexits for debug port
accesses.
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:01:57 +0000 (21:01 +0000)]
Don't leave behind zombie device model processes
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:01:42 +0000 (21:01 +0000)]
Xen full virtualization does not handle unaligned IO with page crossing.
Disable 32-bit PIO as a workaround.
Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:00:30 +0000 (21:00 +0000)]
Translate some control characters in the qemu monitor.
This removes odd control characters displayed in the qemu monitor with vnc
Signed-off-by: Edwin Zhain <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 20:41:31 +0000 (20:41 +0000)]
Remove extra definition of DBG in pci/irq.c in XenLinux.
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 20:33:41 +0000 (20:33 +0000)]
Fix cross-compile builds by using NM macro instead of nm
binary directly.
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 20:32:11 +0000 (20:32 +0000)]
XenLinux restart/poweroff calls 'reboot' or 'poweroff'
as appropriate.
Signed-off-by: Keir Fraser <keir@xensource.com>
vh249@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 17:26:32 +0000 (17:26 +0000)]
split deallocation from net_tx_action
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
vh249@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 17:07:31 +0000 (17:07 +0000)]
add grant table capabilities to netback and netfront.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
vh249@arcadians.cl.cam.ac.uk [Mon, 25 Jul 2005 09:56:50 +0000 (09:56 +0000)]
regenerate smp-alt.patch for 2.6.12
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
sd386@font.cl.cam.ac.uk [Fri, 22 Jul 2005 17:58:52 +0000 (17:58 +0000)]
Local merge
Stephan.Diestelhorst@{cl.cam.ac.uk, inf.tu-dresden.de}
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Jul 2005 16:44:33 +0000 (16:44 +0000)]
Port kallsyms to Xen, as 'symbols'.
Signed-off-by: Keir Fraser <keir@xensource.com>
sd386@font.cl.cam.ac.uk [Fri, 22 Jul 2005 15:32:31 +0000 (15:32 +0000)]
Fixed extratime scheduling bug, which caused a prioritised dom0 to overtake the whole cpu.
Signed-off by: Stephan.Diestelhorst@{cl.cam.ac.uk, inf.tu-dresden.de}
sos22@douglas.cl.cam.ac.uk [Fri, 22 Jul 2005 14:25:10 +0000 (14:25 +0000)]
In 2.6.12-land, do_debug and do_int3 return void. Make sure we don't try
to use their return values anywhere.
Signed-off-by: Steven Smith, sos22@cam.ac.uk.
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Jul 2005 15:50:11 +0000 (15:50 +0000)]
Here is a patch to enable Xen to run on a Unisys ES7000 x86_64 system.
Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Jul 2005 14:15:35 +0000 (14:15 +0000)]
Fix problem of can not create two or more vmx guest.
The original gdb server patch will cause the new vmx guest break the=20
old one. This patch make the arch_set_guest_info modify the correct
vmcs and also skip modifying during creating.
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>^
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Jul 2005 13:59:49 +0000 (13:59 +0000)]
Save per cpu IDT information into the VMCS host area.
Without this, we may be saving the IDT info from the wrong cpu into the
vmcs.
This makes domU work in the presence of VMX domains on SMP/HT enabled
machines.
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>=20
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Jul 2005 13:59:08 +0000 (13:59 +0000)]
Propagate guest MSR writes to machine MSRs immediately
Right now, we have an exposure between the time the MSR is written
and used by an instruction such as syscall. If there is a context
switch and we do vmx_do_restore_msrs(), everything goes fine. But
if we don't, then we execute the syscall with the wrong MSR.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
smh22@firebug.cl.cam.ac.uk [Wed, 20 Jul 2005 19:45:05 +0000 (19:45 +0000)]
Fix bug.
Signed-off-by: Steven Hand <steven@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Jul 2005 17:44:29 +0000 (17:44 +0000)]
No need to define io_remap_pfn_range in linux/mm.h.
maf46@burn.cl.cam.ac.uk [Tue, 19 Jul 2005 12:20:24 +0000 (12:20 +0000)]
Merged by hand.
maf46@burn.cl.cam.ac.uk [Tue, 19 Jul 2005 10:40:26 +0000 (10:40 +0000)]
Shadow mode's writable-PTs should only allow guest kernels access to PTs
kaf24@firebug.cl.cam.ac.uk [Tue, 19 Jul 2005 09:26:18 +0000 (09:26 +0000)]
Fix wallclock timebase extraction in XenLinux.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 19 Jul 2005 08:52:32 +0000 (08:52 +0000)]
Simplify and fix the error-correction factor during
local timer calibration.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 18 Jul 2005 20:22:11 +0000 (20:22 +0000)]
First cut of new time interfaces and synchronisation mechanisms.
Based on an initial patch from Don Fry at IBM.
Still TODO:
1. Testing
2. NTP synchronisation
3. Fix wallclock interface a bit
4. Support for platform timers other than PIT (e.g., HPET, IBM Cyclone)
5. Scale 64-bit TSC diffs instead of 32-bit, just for sanity
6. Error-correcting scale factor is still slightly wrong
6. More testing
Signed-off-by: Keir Fraser <keir@xensource.com>
ach61@arcadians.cl.cam.ac.uk [Sun, 17 Jul 2005 14:16:21 +0000 (14:16 +0000)]
pdb: read/write registers for process target
kaf24@firebug.cl.cam.ac.uk [Sat, 16 Jul 2005 16:45:24 +0000 (16:45 +0000)]
Fix 'make uninstall' target.
kaf24@firebug.cl.cam.ac.uk [Sat, 16 Jul 2005 14:14:29 +0000 (14:14 +0000)]
Fix 'make mrproper' to remove pristine and ref trees.
kaf24@firebug.cl.cam.ac.uk [Sat, 16 Jul 2005 14:02:54 +0000 (14:02 +0000)]
Delete resurrected files (from ia64 merge).
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 19:57:12 +0000 (19:57 +0000)]
Simple grant-table fix (check_unmap).
By Chris Clark and Stefan Berger.
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 19:34:10 +0000 (19:34 +0000)]
Trivial fixes for numeric arg to head/tail.
djm@kirby.fc.hp.com [Fri, 15 Jul 2005 13:39:50 +0000 (06:39 -0700)]
Merge with ia64-unstable.hg
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 12:52:02 +0000 (12:52 +0000)]
Relax the bounce-buffer copying constraints in dma_sync_single_for_*
functions. This fixes certain drivers (e.g., ivtv).
Signed-off-by: Keir Fraser <keir@xensource.com>
sos22@douglas.cl.cam.ac.uk [Fri, 15 Jul 2005 09:24:29 +0000 (09:24 +0000)]
Avoid some unnecessary TLB flushes. This will probably make no real
difference on any sensible guest operating system.
Signed-off-by: Steven Smith, sos22@cl.cam.ac.uk.
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 09:09:57 +0000 (09:09 +0000)]
Fix exit path from DOM0_CREATEDOMAIN, which I broke earlier
today.
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 08:50:48 +0000 (08:50 +0000)]
Enable VMX domains on a SMP dom0.
Not all vectors go through do_IRQ(). It's possible to look up the handler
in the IDT and call that one, but it'll result in two trap frames.
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 08:30:22 +0000 (08:30 +0000)]
Recently some people complain that they cannot set the maxmem for
domU. The problem is that some code wrongly treat dom.max_memkb as in
byte unit, instead of KB unit. This patch fixs the problem.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 08:22:18 +0000 (08:22 +0000)]
Temporary fix for netif ring overflow, until we move
netfront/netback to grant tables.
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 07:53:46 +0000 (07:53 +0000)]
Simpler domid allocation.
Signed-off-by: Keir Fraser <keir@xensource.com>
iap10@freefall.cl.cam.ac.uk [Thu, 14 Jul 2005 23:48:06 +0000 (23:48 +0000)]
Update x86_64 -xen config for Linux 2.6.12
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Thu, 14 Jul 2005 21:03:41 +0000 (21:03 +0000)]
Update the -xen default config to Linux 2.6.12
Signed-off-by: ian@xensource.com